// Copyright (C) <2018> Zealcomm Inc.
//
// SPDX-License-Identifier: Apache-2.0
#import "IRTC/IRTCRemoteStream.h"
NS_ASSUME_NONNULL_BEGIN
@class IRTCRemoteMixedStream;
RTC_EXPORT
@protocol IRTCRemoteMixedStreamDelegate<IRTCRemoteStreamDelegate>
/**
  @brief Triggers when video layout is changed.<br>当视频布局改变时触发。
*/
- (void)streamDidChangeVideoLayout:(IRTCRemoteMixedStream*)stream;
@end
/// This class represent a mixed remote stream.<br>这个类代表了一个混合远端媒体流。
RTC_EXPORT
@interface IRTCRemoteMixedStream : IRTCRemoteStream
/**
  @brief A property of mixed streams which distinguishes them from other mixed
  streams a conference room provides.<br>媒体流的属性，这个属性将同一个会议房间内不同混合流区分开来。
  @details A conference room, since Intel CS for WebRTC v3.4 and later, has been
  extended to support multiple presentations of the mixed audio and video for
  variant purposes. For example, in remote education scenario, the teacher and
  students may subscribe different mixed streams with view of 'teacher' and
  'student' respectively in the same class conference room. It is also the label
  of a mixed stream indicating its peculiarity with a meaningful string-typed
  value, which must be unique within a room.<br>一个视频房间，自从Intel CS for WebRTC v3.4之后，支持为了不同目的的多个音视频混合流的存在。
  比如，在远程教育场景，教师和学生可能订阅同一个课堂房间里的不同的混合流：一个是“教师”，另一个是“学生”。它也是混合流的标签，使用一条在房间里独一无二并带有意义的字符串。
*/
@property(readonly, strong) NSString* viewport;
@property(nonatomic, weak) id<IRTCRemoteMixedStreamDelegate> delegate;
@end
NS_ASSUME_NONNULL_END
